package cuiyt.datastructure.leetcode.linked;


import cuiyt.datastructure.common.ListNode;

/**
 * @author cyt
 * @create 2020-11-22 下午 10:29
 */
public class T237 {
    public static void main(String[] args) {

    }

    public void deleteNode(ListNode node) {
        if (node != null) {
            node.val = node.next.val;
            node.next = node.next.next;
        }
    }
}
